package stagefour.model;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProductModel {
    //    每个model公有的属性
    private Integer id;
    private String createTime;
    private String createTimeStart;
    private String createTimeEnd;
    private String updateTime;
    private String updateTimeStart;
    private String updateTimeEnd;
    private Integer enable;//是否启用，禁用
    private String remark;
    // 每个对象都有分页
    private Integer page;
    private Integer limit;
    //    每个对象自己的属性
    private String name;
    private BigDecimal normalPrice;
    private BigDecimal startNormalPrice;
    private BigDecimal endNormalPrice;
    private BigDecimal marketPrice;
    private BigDecimal startMarketPrice;
    private BigDecimal endMarketPrice;
    //    private String marketPriceString;
    private String content;
    private Integer isShow;
    private Integer isRecommend;
    private String imgHref;
    private Integer whereShow;
    private Integer cuisineId;
    private String cuisineName;

//    public String getMarketPriceString() {//marketPriceString
//        return marketPrice.toString();
//    }
    //字段
    public String getAaA(){//aaA
        return "";
    }

}
